using System;

namespace RFS.Domain.PaiShi
{
    public class JiaoYiDataItem : IJiaoYiDataItem
    {
        public int CompareTo(object obj)
        {
            var f = 1;
            var t= 0 ;
            
            if (obj == null) return f;

            IJiaoYiDataItem otherPerson = obj as IJiaoYiDataItem;
            if (otherPerson != null)
            {
                // Compare the ages of the two instances
                return this.LocalId.CompareTo(otherPerson.LocalId);
            }
            else
            {
                return f;
            }
            
        }

        public string JiaoYiHao { get; set; }
        public string GongHuoDanHao { get; set; }
        public string GongHuoPiCi { get; set; }
        public DateTime DataCreatedTime { get; set; }
        public int LocalId { get; set; }
        public dynamic RawData { get; set; }
        public int Quantity { get; set; }
    }
}